package com.yunfei.springbootgoods.service;

import com.yunfei.springbootgoods.dto.Page;
import com.yunfei.springbootgoods.entity.GoodsOrder;


public interface GoodsOrderService {

    void addGoodsOrder(Integer goodsId);

    /**
     * 根据订单ID修改订单状态为1：已支付
     * @param
     */
    void updateGoodsOrder01(Integer orderId);

    /**
     * 根据订单ID修改订单状态为0：已取消
     * @param
     */
    void updateGoodsOrder02(Integer orderId);


    Page getGoodsOrderPage(Integer pageNo,Integer pageSize);
}
